import request from '@/utils/request'
const FACEAPIURL = '/plan-producer-server'
import {
    processApiUrl,unionApiUrl
  } from '../config'
  

//审批详情

/**
 * 查看  审批详情
 * @param data
 */
 export function queryBusinessBacklogById(data) {
    return request({
        url: `${FACEAPIURL}/planProcessRecord/queryBusinessBacklogById?id=${data.id}`,
        method: 'get',
    })
}

/**
 * 更新列表
 * @param data
 */
 export function updateByPrimaryKeySelective(data) {
    return request({
        url: `${unionApiUrl}/sysNotice/updateByPrimaryKeySelective`,
        method: 'post',
        data
    })
}

/**
 *  提交审批详情
 * @param data
 */
 export function projectPlanCompleteTask(data) {
    return request.post(`${processApiUrl}/cms/task/projectPlanCompleteTask`, data)
}